package com.foxsteps.gsonformat.enums;

import org.jetbrains.annotations.NotNull;

/**
 * The enum Java doc elements.
 *
 * @author Sergey Timofiychuk
 */
public enum AnnontionDocElements {
    DEMO("/** 仅供参考 **/\n"),
    MAPPINGS("@Mappings({\n" +
            "            "),
    EMPTY(""),
    OBJECT("Object"),
    DIAN("\\."),
    MAPPING_BODY("@Mapping(source = \"%s\", target = \"%s\")"),
    MAPPING_BODY_SPLIT(",\n" +
            "            "),
    MAPPING_BODY_END("\n" +
            "    })");

    private String presentation;

    /**
     * Instantiates a new Java doc elements.
     *
     * @param value the value
     */
    AnnontionDocElements(String value) {
        presentation = value;
    }

    /**
     * Gets the presentation.
     *
     * @return the Presentation
     */
    @NotNull
    public String getPresentation() {
        return presentation;
    }

}
